//
// Copyright (c) 2014, 保留所有权利。
//
// FlagLogBean.java
//
// 作    者：王红燕
// 当前版本：1.0
// 2014 上午11:02:20
//
// 
//
package com.vanke.agent.bean;

import java.io.Serializable;
import java.util.Date;

/**
 *
 */
public class FlagLogBean implements Serializable {
	private long FlagGUID;
	private long CstGUID;
	private String OriCstGUID;
	private int Appid = 100;		//来源应用，数据中心分配的ID
	private int Flag; 				//客户状态：,01=预约,02=来电,03=到访,04=认筹,05=认购,06=签约,07=回款,08=其他,10=推荐,11=入伙,12=退筹,13=认购退房,14=认购换房,15=认购作废,16=认购变更,17=签约退房,18=签约换房,19=签约变更,
	private String SubStatus;		// 子状态，即每一个Flag对应的自有状态,
	private Date FlagTime; 			// datetime comment 取得当前状态的时间，即打标时间,
	private String refGUID; 		// 关联GUID，根据flag表示不同数据记录的GUID，如：flag=05,flag=23表示认购的OrderGUI
	private String ProjCode; 		// 生产当前状态时所关联项目,
	private String RoomGUID; 		// 生产当前状态时所关联房产,
	private String UserGUID; 		// 置业顾问题,
	private String PrmAgent; 		// 经纪人,
	private String RecommendGUID; 	// 推荐ID,
	private String Comment; 		// varchar(256) comment 备注说明
	private Date CreateTime; 		// 创建时间

	public long getFlagGUID() {
		return FlagGUID;
	}

	public void setFlagGUID(long flagGUID) {
		FlagGUID = flagGUID;
	}

	public long getCstGUID() {
		return CstGUID;
	}

	public void setCstGUID(long cstGUID) {
		CstGUID = cstGUID;
	}

	public String getOriCstGUID() {
		return OriCstGUID;
	}

	public void setOriCstGUID(String oriCstGUID) {
		OriCstGUID = oriCstGUID;
	}

	public int getAppid() {
		return Appid;
	}

	public void setAppid(int appid) {
		Appid = appid;
	}

	public int getFlag() {
		return Flag;
	}

	public void setFlag(int flag) {
		Flag = flag;
	}

	public String getSubStatus() {
		return SubStatus;
	}

	public void setSubStatus(String subStatus) {
		SubStatus = subStatus;
	}

	public Date getFlagTime() {
		return FlagTime;
	}

	public void setFlagTime(Date flagTime) {
		FlagTime = flagTime;
	}

	public String getRefGUID() {
		return refGUID;
	}

	public void setRefGUID(String refGUID) {
		this.refGUID = refGUID;
	}

	public String getProjCode() {
		return ProjCode;
	}

	public void setProjCode(String projCode) {
		ProjCode = projCode;
	}

	public String getRoomGUID() {
		return RoomGUID;
	}

	public void setRoomGUID(String roomGUID) {
		RoomGUID = roomGUID;
	}

	public String getUserGUID() {
		return UserGUID;
	}

	public void setUserGUID(String userGUID) {
		UserGUID = userGUID;
	}

	public String getPrmAgent() {
		return PrmAgent;
	}

	public void setPrmAgent(String prmAgent) {
		PrmAgent = prmAgent;
	}

	public String getRecommendGUID() {
		return RecommendGUID;
	}

	public void setRecommendGUID(String recommendGUID) {
		RecommendGUID = recommendGUID;
	}

	public String getComment() {
		return Comment;
	}

	public void setComment(String comment) {
		Comment = comment;
	}

	public Date getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(Date createTime) {
		CreateTime = createTime;
	}

	@Override
	public String toString() {
		String fmt = "CstGUID=%s,OriCstGUID=%s,Appid=%s,Flag=%s,SubStatus=%s,FlagTime=%s,ProjCode=%s,RoomGUID=%s,UserGUID=%s,PrmAgent=%s,RecommendGUID=%s,Comment=%s,CreateTime=%s";
		return String.format(fmt, CstGUID, OriCstGUID, Appid, Flag, SubStatus,
				FlagTime, ProjCode, RoomGUID, UserGUID, PrmAgent,
				RecommendGUID, Comment, CreateTime);
	}
} //~
